package AtmSystem;

public abstract class Person
{
	private String username;
	private String password;
	private int userID;
	private String email;

	public Person (int initialUserID,String initialUsername,String initialPassword,String initialEmail)
		{
			userID = initialUserID;
			username = initialUsername;
			password = initialPassword;
			email = initialEmail;
		}

	public void setPassword(String newPassword)
	{
		password=newPassword;
	}

	public String getUsername()
	{
		return username;
	}
    
	public String getPassword()
	{
		return password;
	}

		public int getUserID()
	{
		return userID;
	}

	public String getEmail()
	{
		return email;
	}

}
